import { useRoutes } from 'react-router-dom'
import './App.css'
// ===============导入路由规则================
import routes from './router'

function App() {
  const ele = useRoutes(routes)
  return <div className="app">{ele}</div>
}

export default App
